Skip to content

Conversation

@jtsodapop
Copy link
Contributor

No description provided.

res = self.client.execute(query_str, params)
return Prediction(self.client, res["createPrediction"])

def enable_model_assisted_labeling(self, toggle:bool=True) -> bool:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def enable_model_assisted_labeling(self, toggle:bool=True) -> bool:
def enable_model_assisted_labeling(self, toggle: bool=True) -> bool:

Args:
toggle (Boolean): True or False boolean
Returns:
True or False depending on the condition given
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be more correct and understandable if you said here instead that it returns True if turned on and False if turned off

True or False depending on the condition given
"""

project_param = "project_id"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think these can just go into params rather than being pulled out up here

@jtsodapop jtsodapop merged commit bc2ce69 into develop Nov 6, 2020
@jtsodapop jtsodapop deleted the enable_mal branch November 6, 2020 22:18
msokoloff1 pushed a commit that referenced this pull request Sep 22, 2021
* Adding in function to toggle on and off model assisted labeling

* deleted unnecessary file

* updating file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants